/* Reference.module.css */

/* Override default ant-collapse styles */
.custom-reference {
  border-radius: 5px
}

.custom-reference>.ant-collapse {
  border-radius: 5px !important;
}

/* Override default ant-collapse-content styles */
.ant-collapse-content {
  border-radius: 5px !important;
}

.custom-panel>.ant-collapse-header {
  border-radius: 5px
}


.reference-container {
  margin-top: 20px;
  padding: 10px;
  /* border: 1px solid #e8e8e8; */
  border-radius: 4px;
  /* background-color: #fafafa; */
}

/* .reference-container .ant-collapse{
  border-radius: 5
} */

.reference-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.reference-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.reference-content {
  font-size: 14px;
  line-height: 1.5;
}

.hr-container {
  display: flex;
  align-items: center;
  /* padding-top: 0.5rem;
  padding-bottom: 0.5rem; */
  gap: 0.5rem;
  margin: 10px 0;
}

.hr-icon {
  width: 24px;
  height: 24px;
}

.hr-text {
  color: #667085;
  font-size: 0.875rem;
}

.hr-line {
  height: 1px;
  margin-top: 0.25rem;
  background: rgba(0, 19, 77, 0.04);
  flex: 1 1 0%;
}

.file-card {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  border: 1px solid rgb(232, 235, 240);
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  padding-inline-start: 0.5rem;
  padding-inline-end: 0.5rem;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-name .icon {
  margin-right: 8px;
}

.file-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  /* 调整间距 */
}

.file-item {
  flex: 1 1 calc(50% - 16px);
  /* 每个项目占据一半的宽度，减去间距 */
  min-width: 0;
  /* 防止项目溢出 */
}

/* .file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} */

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}


.file-name {
  display: flex;
  align-items: center;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  /* 根据需要调整最大宽度 */
}